from fastapi import APIRouter
from app.api import auth, models, documents, categories, knowledge_bases, chat, stats, users, system, shares, notes, monitoring

# 创建主路由
api_router = APIRouter(prefix="/api")

# 注册子路由
api_router.include_router(auth.router)
api_router.include_router(users.router)
api_router.include_router(models.router)
api_router.include_router(documents.router)
api_router.include_router(categories.router)
api_router.include_router(knowledge_bases.router)
api_router.include_router(chat.router)
api_router.include_router(notes.router)
api_router.include_router(stats.router)
api_router.include_router(system.router)
api_router.include_router(shares.router)
api_router.include_router(monitoring.router)
